<template>
    <div class="box">
        <div class="title">
            <slot name="title"></slot>
            <!-- <p>男女比例</p> -->
            <img src="../../images/dataScreen-title.png" />
        </div>
        <slot name="content"></slot>
    </div>
</template>

<script setup lang="ts">
defineProps(['title'])
</script>

<style scoped type="scss">
.box {
    background: url(../../images/dataScreen-main-lb.png) no-repeat;
    background-size: 100% 100%;
    margin: 10px 0;
    font-size: 23px;

    .title {
        margin-left: 20px;
        img {
            width: 68px;
            height: 7px;
        }
    }
}
</style>